API Documentation
Classes
nkMemory Namespace Reference

Encompasses all API of component NilkinsMemory. More...

Classes

class  AllocationStrategy
 WIP. More...
 
class  Allocator
 Interface representing an allocator, supposed to allocate an object when requested. More...
 
class  BudgetProvider
 WIP. More...
 
class  Buffer
 A buffer holding binary data. More...
 
class  BufferCast
 Holds a Buffer and make it easy to cast the binary data. More...
 
class  BufferView
 A view over data. More...
 
class  Deallocator
 Interface used for deallocating memory. More...
 
class  DefaultAllocationStrategy
 WIP. More...
 
class  DefaultAllocator
 A utility default allocator allocating an object through a simple call to new. More...
 
class  DefaultDeallocator
 A utility default deallocator using a simple call to delete. More...
 
class  DefaultMemorySpace
 A basic memory space with default implementation. More...
 
struct  FreeListAllocation
 Holds information about an allocation returned by the pager. More...
 
class  FreeListPager
 A pager implementing the free list pattern. More...
 
class  LinearPager
 A pager using a linear allocation algorithm. More...
 
class  LogManager
 Responsible for logging all messages from the component. More...
 
class  MemorySpace
 Represents a memory space held by a page in a pager. More...
 
class  PtrPool
 A pool of objects, allocated in the heap and tracked by their pointers. More...
 

Detailed Description

Encompasses all API of component NilkinsMemory.

This component offers memory management algorithms, such as :

By using this component, improve your memory allocation times by avoiding the low level system calls. On top of that, it offers high flexibility through the use of memory spaces and custom allocations. Customize the nkMemory::MemorySpace used by the pagers and allocate the memory where it is required. Choose how a nkMemory::Allocator should act to fully drive a pool.